package org.example.myleet.p1743;

import org.example.myleet.Utils.Assert;
import org.example.myleet.Utils.Parser;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue(Assert.isPass(new int[]{1,2,3,4}, solution.restoreArray(Parser.parse("[[2,1],[3,4],[3,2]]"))));
        Assert.isTrue(Assert.isPass(new int[]{-2,4,1,-3}, solution.restoreArray(Parser.parse("[[4,-2],[1,4],[-3,1]]"))));
        Assert.isTrue(Assert.isPass(new int[]{100000,-100000}, solution.restoreArray(Parser.parse("[[100000,-100000]]"))));
    }
}
